<%--
  Created by IntelliJ IDEA.
  User: lxy
  Date: 2022/9/13
  Time: 14:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>公寓管理系统 - 房屋信息详情查看</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/main.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/lib/font-awesome/css/font-awesome.css">
</head>
<body>
<div class="box">
    <h3>房屋信息详情</h3>
    <form action="#" method="post">
        <table class="form-table">
            <tr>
                <td class="label">rid</td>
                <td class="detail">
                    ${rent.rid}
                </td>
            </tr>

            <tr>
                <td class="label">房屋Id</td>
                <td colspan="3" class="detail">
                    ${rent.rhid}
                </td>
            </tr>
            <tr>
                <td class="label">租户id</td>
                <td colspan="3" class="detail">
                    ${rent.rlid}
                </td>
            </tr>
            <tr>
                <td class="label">缴纳房租</td>
                <td colspan="3" class="detail">
                    ${rent.rprice}
                </td>
            </tr>
            <tr>
                <td class="label">租户名</td>
                <td colspan="3" class="detail">
                    ${rent.lessee.lname}
                </td>
            </tr>
            <tr>
                <td class="label">租户电话</td>
                <td colspan="3" class="detail">
                    ${rent.lessee.ltel}
                </td>
            </tr>
            <tr>
                <td class="label">房屋地址</td>
                <td colspan="3" class="detail">
                    ${rent.house.haddress}
                </td>
            </tr>

            <tr>
                <td class="label">出租价格(元/月)</td>
                <td colspan="3" class="detail">
                    ${rent.house.hprice}
                </td>
            </tr>
            <tr>
                <td class="label">出租状态</td>
                <td colspan="3" class="detail">
                    ${rent.house.hrentStatus}
                </td>
            </tr>
            <tr>
                <td class="label">状态</td>
                <td colspan="3" class="detail">
                    ${rent.house.hstatus}
                </td>
            </tr>
        </table>
        <div class="buttons">
            <a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
        </div>
    </form>
</div>
</body>
</html>
